package com.showgood.controller {
	import com.showgood.core.AbstractSimpleCommand;
	import com.showgood.config.SangoConst;
	import com.showgood.socket.ArraySocketCommand;
	import com.showgood.vo.BaseVO;
	import org.puremvc.as3.interfaces.INotification;
	
	/**
	 * 服务器端返回的都市列表
	 * @author bianpeng
	 */
	public class ReplyCityListCommand extends AbstractSimpleCommand {
		
		public function ReplyCityListCommand() {
			super();
		}
		
		override public function execute(notify:INotification):void {
			var _command:ArraySocketCommand = notify.getBody() as ArraySocketCommand;
			var _cityList:Vector.<BaseVO> = _command.data;
			//_logger.info(_cityList);
			sendNotification(SangoConst.SHOW_CITY_ON_SCREEN, _cityList);
		} 
	}
}

